
//
//  KSDrawAdCell.m
//  KSAdSDKGitDemo
//
//  Created by xuzhijun on 2019/12/7.
//  Copyright © 2019 xuzhijun. All rights reserved.
//

#import "KSDrawAdCell.h"

@interface KSDrawAdCell ()

@property (nonatomic, weak) KSDrawAd *drawAd;

@end

@implementation KSDrawAdCell


- (void)refreshWithDrawAd:(KSDrawAd *)drawAd {
    self.drawAd = drawAd;
    [drawAd registerContainer:self.contentView];
}

- (void)prepareForReuse {
    [super prepareForReuse];
    [self.drawAd unregisterView];
}

@end
